home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: Grady Dill <gndill@ix.netcom.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Borland class library problem (TDate)
- Date: Wed, 17 Apr 1996 23:25:58 -0500
- Organization: Netcom
- Message-ID: <3175C456.73C9@ix.netcom.com>
- References: <hesterDq0n4L.B51@netcom.com>
- NNTP-Posting-Host: bir-al2-13.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NETCOM-Date: Wed Apr 17 11:31:56 PM CDT 1996
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Jim Hester wrote:
- >
- > Does anyone know if there is a problem with the TDate class in Borland C++
- > version 4.5?
- >
- > I have BCC4.5 fully installed on C:, and use the command-line compiler.
- > When I try to use the TDate class, the linker can't find the object code.
- > For example, if I compile the following:
- >
- > #include<classlib/date.h>
- > void main()
- > {
- > TDate D;
- > }
- >
- > The compilation phase goes OK but the linker complains that it can't find
- > method TDate::TDate(). I HAVE successfully used other classlib objects (the
- > container classes, for example).
- >
- > Any ideas?
- >
- > Thanks in advance,
- >
- > _ _ _
- > / ) ' ) ) _/_
- > (_/ . __ /---/ _ _ / _ __
- > / /\_/_///_ / (_</_/_)_<__</_/ (_
- > (_/
- >
- > hester@netcom.com
- >
-
- Jim,
-
- I don't know of any problem with 4.5x concerning this. Your code sample looks
- fine to me. Obviously the linker can't find the LIB it needs. If you're dealing
- with a 16-bit app, make sure you're using the correct library for your memory
- model. I'm not sure what else to suggest. Good luck
-
- Grady
-